To deflate or reduce someone; esp, to humiliate someone pompous or vainglorious; CUT someone OFF AT THE KNEES: Somebody ought to take that cocky bastard down a peg
[1664+; said to be fr the fact that a ship's flag or ensign was belayed on pegs, hence a lower peg meant less dignity in a salute; take a peg lower is found by 1589]